#include <stdio.h>
struct student
{
    int num;
    char name[20];
    double score[3];
};
void display(struct student *p)
{
    printf("%d %s %5.1f %5.1f %5.1f\n", p->num, p->name,
           p->score[0], p->score[1], p->score[2]);
}
int main()
{
    struct student st = {20701, "lili", 67.5, 88, 79.6};
    display(&st);
    return 0;
}